package com.xxf.aynu.parking;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RadioButton;

/**
 * Created by Rossoneri on 2017/5/11 0011.
 */
public class  activity_mine_setting extends Activity{
    RadioButton rb;
    RadioButton rb_zhuxiao;
    ImageView img;
    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);

        rb_zhuxiao=(RadioButton)findViewById(R.id.setting_fankui) ;
        rb_zhuxiao.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(getApplicationContext(),newlogin.class);
                //item.setIntent(intent);
                startActivity(intent);
            }
        });

        rb=(RadioButton)findViewById(R.id.setting_regist);
        rb.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(getApplicationContext(),activitu_setting_fixpw.class);
                //item.setIntent(intent);
                startActivity(intent);

            }
        });

        img=(ImageView)findViewById(R.id.login_back);
        img.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(getApplicationContext(),activity_mine.class);
                //item.setIntent(intent);
                startActivity(intent);

            }
        });
    }

   /* @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
        finish();*/
}

